package com.dd.cloud.user.mapper.search;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dd.cloud.user.entity.search.SearchHistory;
import com.dd.cloud.user.res.chknowl.ChUserSearchListRes;

import java.util.List;

/**
 * <p>
 * 用户搜索历史表 Mapper 接口
 * </p>
 *
 * @author czg
 * @since 2022-07-05
 */
public interface SearchHistoryMapper extends BaseMapper<SearchHistory> {
    /**
     * 全局搜索中医知识库内容
     * @param keyword
     * @return
     */
    List<ChUserSearchListRes> searchChByKeyword(String keyword);
}
